package com.zhuiyun.project.api.caseRecord.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zhuiyun.project.api.caseRecord.entity.CaseRecord;
import com.zhuiyun.project.common.response.CommonResult;
import com.zhuiyun.project.utils.pageUtil.PageRequest;

/**
 * @ClassName caseController
 * @Description TODO
 * @Author lpr
 * @Date 2023/11/2 20:21
 **/
public interface CaseRecordService {
    /**
    * 分页查询+模糊查询 案例管理
    * @Author lpr
    * @Description
    * @Date 2023/11/2 20:48
    * @Return com.baomidou.mybatisplus.core.metadata.IPage<com.zhuiyun.project.api.caseRecord.entity.CaseRecord>
    * @param pageRequest
    * @param caseRecord
    */
    IPage<CaseRecord> selectCaseRecord(PageRequest pageRequest, CaseRecord caseRecord);
    /**
    * 修改案例状态
    * @Author lpr
    * @Description
    * @Date 2023/11/9 15:55
    * @Return java.lang.Object
    * @param caseRecord
    */
    Object editCaseStatus(CaseRecord caseRecord);
    /**
    * 器材逻辑删除
    * @Author lpr
    * @Description
    * @Date 2023/11/9 15:55
    * @Return com.zhuiyun.project.common.response.CommonResult
    * @param caseId
    */
    CommonResult removeCaseById(Integer caseId);
}
